package cn.com.dhcc.adam.spring;

public class ServiceImpl implements Service {

	private Dao dao;
	
	public Dao getDao() {
		return dao;
	}

	public void setDao(Dao dao) {
		this.dao = dao;
	}

	@Override
	public String formatedInfo() {
		return dao.getFormatedInfo();
	}

	public ServiceImpl(){};
	public ServiceImpl(Dao dao){
		this.dao = dao;
	};
}
